<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        table,
        td,
        th {
            border: 1px solid #595959;
            border-collapse: collapse;
        }

        td,
        th {
            padding: 3px;
            width: 30px;
            height: 25px;
        }

        th {
            background: #f0e6cc;
        }

        .even {
            background: #fbf8f0;
        }

        .odd {
            background: #fefcf9;
        }
    </style>
</head>

<body>
    <table width="80%">
        <tbody>
            <tr>
                <th>接口作用</th>
                <th>接口地址</th>
            </tr>
            <tr>
                <td>获取所有购物车信息</td>
                <td>get<br>http://127.0.0.1:9999/cart</td>
            </tr>
            <tr>
                <td>根据id获取某购物车信息</td>
                <td>get<br>http://127.0.0.1:9999/cart/{id}</td>
            </tr>
            <tr>
                <td>根据id修改某购物车数量</td>
                <td>patch<br>http://127.0.0.1:9999/cart/{id}<br>参数 count</td>
            </tr>
        </tbody>
    </table>
</body>

</html>